package com.deepocean.service;

import com.deepocean.entity.GradingScreenCondition;
import com.deepocean.entity.GradingScreenEntity;
import com.deepocean.entity.GradingScreenInAndOut1Hour;

import java.util.List;

public interface IGradingScreenService {

    boolean add(GradingScreenEntity gradingScreenEntity);

    /**
     * 当前时间开始，进一小时数据总和
     * @param deviceId
     * @return
     */
    GradingScreenInAndOut1Hour getInAndOutInHour(String deviceId);

    List<GradingScreenEntity> getGradingScreenByCondition(GradingScreenCondition gradingScreenCondition);
}
